package com.vijay.loadtimeweave;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class HelloController {

    @GetMapping("/hello.do")
    public Map<String, Object> hello() {
        int x = 1;
        Map<String, Object> ret = new HashMap<>();
        JavaBean javaBean = new JavaBean();
        ret.put("springBeanToString", javaBean.getSpringBean().toString());
        return ret;
    }

}
